package com.roy.royminidao.common.framework.lang.result;

import java.io.Serializable;

public class Result implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2188242937912190796L;

	/** 是否成功，默认成功 */
	protected boolean success = true;

	/** 错误码 */
	protected String errorCode = "";

	/** 结果信息 */
	protected String message = "";

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
